package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

/**
 * @version 1.0
 * @Description: 广告配置
 * @author: Rock
 * @time: 2020/10/22 10:59
 */
@Data
@Document("adversters")
public class Adversters implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    private String name;

    private String index;

    private String adversterid;

    @Field("short_name")
    private String shortName;

    private String status;

    @Field("end_time1")
    private String endTime1;
    @Field("end_time2")
    private String endTime2;
    @Field("end_time3")
    private String endTime3;
    @Field("start_time1")
    private String startTime1;
    @Field("start_time2")
    private String startTime2;
    @Field("start_time3")
    private String startTime3;
    @Field("ADweight")
    private String ADweight;

    private String creater;

    private Date createtime;

    private Date modifytime;

}
